Program Comprehension in GROOVE
نویسنده
چکیده
This paper presents a (partial) solution to the case study on Program Comprehension, proposed in the GraBaTs’09 contest. Our tool of choice is GROOVE, a graph transformation tool initially designed as a model checker for graph grammars. GROOVE has been under development for several years and new features are being implemented. One of our current interests is on program analysis and model transformation, hence the attempt to solve this case study. The first task proposed, viz. a filtering query, falls outside the current scope of GROOVE and thus was not tackled. We give a solution to the second task in the case study, namely the construction of a Control Flow Graph (CFG) and of a Program Dependence Graph (PDG) for a piece of program source code given as input. The rest of this paper is organised as follows. First, in Section 2, we give a brief introduction on GROOVE. In Section 3 we explain how the input file provided with the case study was converted to a representation suitable for GROOVE. Next, we present the solution to the elaboration of the CFG (in Section 4) and of the PDG (in Section 5). Finally, Section 6 concludes.
منابع مشابه
Effects of Closed-caption Programs on EFL Learners’ Listening Comprehension and Vocabulary Learning
This study aimed at investigating the impact of closed-caption program on listening comprehension of English movies and vocabulary learning. Sixty-four graduate students studying at Shiraz Islamic Azad University were selected as the participants of the study. The participants were divided into two groups: experimental group (with closed caption program) and control group (without closed captio...
متن کاملThe effects of captioning texts and caption ordering on L2 listening comprehension and vocabulary learning
This study investigated the effects of captioned texts on second/foreign (L2) listening comprehension and vocabulary gains using a computer multimedia program. Additionally, it explored the caption ordering effect (i.e. captions displayed during the first or second listening), and the interaction of captioning order with the L2 proficiency level of language learners in listening comprehension a...
متن کاملThe Effect of Metacognitive Instruction through Dialogic Interaction on the Reading Comprehension Performance and the Metacognitive Awareness of Iranian EFL Learners
The purpose of this study was to probe the effect of metacognitive strategy instruction through dialogic interaction on the reading comprehension performance and metacognitive awareness of Iranian EFL learners. The data were collected through the Survey of Reading Strategies (SORS) and a reading test to examine changes in metacognitive awareness and reading performance before and after the inte...
متن کاملThe Effect of Metacognitive Instruction through Dialogic Interaction on the Reading Comprehension Performance and the Metacognitive Awareness of Iranian EFL Learners
The purpose of this study was to probe the effect of metacognitive strategy instruction through dialogic interaction on the reading comprehension performance and metacognitive awareness of Iranian EFL learners. The data were collected through the Survey of Reading Strategies (SORS) and a reading test to examine changes in metacognitive awareness and reading performance before and after the inte...
متن کاملTeaching Reading Comprehension Strategies to Iranian EFL Pre-University Students
The present study investigated the potential of implementing reading strategy instruction in raising learner readers' awareness of reading strategies, extending the range of strategies they employed and enhancing their reading comprehension ability. To conduct the study, 90 female pre-university students majoring in Natural Sciences were selected based on a convenient sampling procedure. After...
متن کامل